﻿@using Moonglade.Web.PagedList
@model BasePagedList<Moonglade.Core.PostFeature.PostDigest>

@foreach (var item in Model)
{
    <partial name="_PostListEntry" model="item" />
}

@Html.PagedListPager(Model, page => $"?p={page}", new()
{
    UlElementClasses = new[] { "pagination justify-content-end" },
    MaximumPageNumbersToDisplay = 5
})
